package com.itheima.pojo;

import java.io.Serializable;

public class Address implements Serializable {

    private Integer id;
    private String name;
    private String telephone;
    private String img;
    private double lng;
    private double lat;
    private String lngAndLat;
    private String position;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getLngAndLat() {
        return lngAndLat;
    }

    public void setLngAndLat(String lngAndLat) {
        this.lngAndLat = lngAndLat;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public double getLng() {
        return lng;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", telephone='" + telephone + '\'' +
                ", img='" + img + '\'' +
                ", lng=" + lng +
                ", lat=" + lat +
                ", lngAndLat='" + lngAndLat + '\'' +
                ", position='" + position + '\'' +
                '}';
    }
}
